import java.net.IDN;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        Company c=new Company();
        c.name="111";
        c.adress="23";
        c.tel="234";
        c.fanwei="1234";
        c.show();


        while (true){
            System.out.println("1.招聘员工  2.员工信息  3.辞退员工  4.公司人数  5.查找最好薪水的员工,9.返回 ");
            int choose=in.nextInt();
            switch (choose){
                case 1:
                    System.out.println("请输入新员工姓名：");
                    String name=in.next();
                    System.out.println("请输入新员工年龄：");
                    int age=in.nextInt();
                    System.out.println("请输入新员工性别：");
                    String xingbie=in.next();
                    System.out.println("请输入新员工工作职位：");
                    String zhiwei=in.next();
                    System.out.println("请输入新员工薪水：");
                    double menoy=in.nextDouble();
                    System.out.println("请输入新员工工号：");
                    String ID=in.next();
                    c.add(name,age,xingbie,zhiwei,menoy,ID);
                    break;
                case 2:
                    c.shoeIfo();
                    break;
                case 3:

                case 4:
                    c.num();
                    break;
                case 5:



            }
        }
    }
}
